+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
+Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): removed assertements for constructed containers
+ again, since this essentially breaks the "child" arg.
+
+ * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
+ reference count, we don't need to reference toplevels that already have
+ destroy notifiers.
+
+ * gtk/gtkscrolledwindow.c: check for the composites existance in
+ _forall since we might not be already constructed.
+
Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.5
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_widget_ref (GTK_WIDGET (container));
gtk_widget_ref (widget);
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_widget_ref (GTK_WIDGET (container));
gtk_widget_ref (widget);
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_signal_emit (GTK_OBJECT (container), container_signals[ADD], widget);
}
callback (scrolled_window->child, callback_data);
if (include_internals)
{
- callback (scrolled_window->vscrollbar, callback_data);
- callback (scrolled_window->hscrollbar, callback_data);
+ if (scrolled_window->vscrollbar)
+ callback (scrolled_window->vscrollbar, callback_data);
+ if (scrolled_window->hscrollbar)
+ callback (scrolled_window->hscrollbar, callback_data);
}
}
if (!tooltips->tip_window)
{
tooltips->tip_window = gtk_draw_window_new (GTK_WINDOW_POPUP);
- gtk_widget_ref (tooltips->tip_window);
gtk_window_set_policy (GTK_WINDOW (tooltips->tip_window), FALSE, FALSE, TRUE);
gtk_signal_connect_object (GTK_OBJECT (tooltips->tip_window),